/*
 *
 * This program is free software; you can redistribute it and/or modify 
 * it under the terms of the GNU General Public License version 2 as 
 * published by the Free Software Foundation.
 *
 * default_task.h is for what ...
 *
 * Version: ***: default_task.h  Sun Jul  3 09:15:13 2011 poponion Exp $
 *
 * Authors:
 *   Author poponion <huangcm85@gmail.com>
 *     -some work detail if you want 
 *
 */ 
#ifndef DEFAULT_TASK_
#define DEFAULT_TASK_
#include "task.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
class DefaultTask : public Task
{
public:
  inline void set_magic(int magic)
  {
    magic_ = magic;
  }
  inline int get_magic() const
  {
    return magic_;
  }
  virtual void run();

private:
  int magic_;
};
#endif
